			<ul><?php
			foreach ($this->data as $caption => $url){
				if ($url == $this->active) {
					echo '<li class="active"><strong>'.$caption.'</strong></li>';
				} else {
				echo '<li>';
				echo CHtml::link($caption,array('/'.$url)); 
				echo '</li>';}
			} ?>
				<li>
					<?php echo CHtml::link('Login', array('/site/login'), array('htmlOptions' => 'visible'=>Yii::app()->user->isGuest)); ?>
				</li>
				<li>
					<?php echo CHtml::link('Logout', array('/site/logout'), array('visible'=>!Yii::app()->user->isGuest)); ?>
				</li>
			</ul>		